kfill

USAGE: kfill inimg outimg [-f FDIFF] [-c] [-n NITER]
                          [-r R][-k K] [-l] [-d] [-I] [-L]

kfill removes spatial noise from binary input image

ARGUMENTS:
    inimg: input image filename (TIF)
   outimg: output image filename (TIF)

OPTIONS:
    -f FDIFF: amount of increase or decrease (negative) of
              factor no. from default
          -c: when set, retain connectivity (default is otherwise)
          -e: when set, do not retain endpoints (default is otherwise)
       -r R: percentage of max noise to leave remaining on any
              iteration before stopping (default is 0)
    -n NITER: maximum number of iterations (default max = 20)
        -k K: window size for kxk mask (k >= 3, default = 3)
          -l: first iteration fill-value opposite from default
             (default is 0 value)
          -d: to display results of each iteration (< 40x40 image)
          -I: invert input image before processing
          -L: print Software License for this module
 
 

Example:

kfill brknblobs.tif brknblobsKF.tif -f 0 -I

brknblobs.tif:

brknblobsKF.tif:

Copyright (C) 1999 MLMSoftware Group, LLC.